package model.decoder;

import android.hardware.Camera.Size;

import com.google.zxing.multi.ByQuadrantReader;
import com.google.zxing.multi.GenericMultipleBarcodeReader;
import com.google.zxing.oned.Code128Reader;

/**
 * 1D barcode version of ZXingDecoder.
 * <p>Supports the decoding of Code128</p>
 */
public class ZXing1DDecoder extends ZXingDecoder
{	
	public ZXing1DDecoder(Size previewSize, byte[]... bytes)
	{
		_previewSize = previewSize;
		_multiReader =  new GenericMultipleBarcodeReader(new ByQuadrantReader(new Code128Reader()));
	}
}